html {
	border: 1px solid #FAFAFA;
	box-shadow: inset 0 0 10px #BBB;
	margin: auto;
	max-width: 480px;

	-moz-box-shadow: inset 0 0 10px #BBB;
	-webkit-box-shadow: inset 0 0 10px #BBB;
}

body {
	background: #EEE;
	cursor: default;
	font-family: "DejaVu Sans", "Sans", "Arial";
	font-size: 12pt;
	margin: 0;
	padding: 10px;
}

a {
	color: #196080;

    -webkit-transition-property: background-color, color;
    -webkit-transition-duration: 200ms;
    -webkit-transition-timing-function: ease-in-out;
}

a:hover {
	color: #C3DBE6;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-family: "Times New Roman";
	font-style: italic;
	letter-spacing: 3px;
	margin: 0;
	padding: 5px;
}

input.tfsbox_textfield {
	background: transparent;
	border: 1px solid #F9F9F9;
	border-bottom-color: #BBB;
	box-sizing: border-box;
	letter-spacing: 1px;
	padding: 3px;
	width: 100%;

    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -khtml-box-sizing: border-box;

	-webkit-transition-property: border, -webkit-box-shadow, margin;
    -webkit-transition-duration: 200ms;
    -webkit-transition-timing-function: ease-in-out;
}

input.tfsbox_textfield:focus {
	background: white url(images/shouts_bg2.png) 0 -10px repeat-x;
	border: 2px solid #EBC479 !important;
	box-shadow: 0 2px 5px #999;
	margin: -1px;

	-moz-box-shadow: 0 2px 5px #999;
	-webkit-box-shadow: 0 2px 5px #999;
}

input.tfsbox_textfield:focus,
input.tfsbox_textfield:hover {
	border: 1px solid #BBB;
}

input[type=submit],
input[type=reset] {
	background: #F5F5F5 url(images/shouts_bg.png) repeat-x;
	box-shadow: 0 0 7px #DDD, 1px 1px 0 #CCC, -1px 1px 0 #CCC, 1px -1px 0 #CCC, -1px -1px 0 #CCC;
	border: 1px solid white;
	border-radius: 3px;
	cursor: pointer;
	font-family: "Times New Roman";
	font-style: italic;
	margin: 9px 5px 9px 5px;
	min-width: 100px;

	-moz-border-radius: 3px;
	-moz-box-shadow: 0 0 7px #DDD, 1px 1px 0 #CCC, -1px 1px 0 #CCC, 1px -1px 0 #CCC, -1px -1px 0 #CCC;
	-webkit-box-shadow: 0 0 7px #DDD, 1px 1px 0 #CCC, -1px 1px 0 #CCC, 1px -1px 0 #CCC, -1px -1px 0 #CCC;

	-webkit-transition-property: background-color, color;
    -webkit-transition-duration: 200ms;
    -webkit-transition-timing-function: ease-in-out;
}

input[type=submit]:hover,
input[type=reset]:hover,
.button:hover {
	background-color: #EEE;
}

input[type=submit]:focus,
input[type=submit]:active,
input[type=reset]:focus,
input[type=reset]:active {
	border-color: #CCC;
}

.button {
	background: #F5F5F5 url(images/shouts_bg.png) repeat-x;
	box-shadow: 0 0 7px #BBB, 1px 1px 0 #DDD, -1px 1px 0 #DDD, 1px -1px 0 #DDD, -1px -1px 0 #DDD;
	border: 1px solid white;
	border-radius: 5px;
	cursor: pointer;
	font-size: 9pt;
	display: inline-block;
	margin: 10px 5px 10px 5px;
	min-width: 20px;
	padding: 3px;
	text-decoration: none;

	-moz-border-radius: 5px;
	-moz-box-shadow: 0 0 7px #BBB, 1px 1px 0 #DDD, -1px 1px 0 #DDD, 1px -1px 0 #DDD, -1px -1px 0 #DDD;
	-webkit-box-shadow: 0 0 7px #BBB, 1px 1px 0 #DDD, -1px 1px 0 #DDD, 1px -1px 0 #DDD, -1px -1px 0 #DDD;
}

.button:hover {
	color: #196080;
}

.tfsbox_caption {
	color: #CCC;
}

.tfsbox_container {
	margin: auto !important;
	max-width: 750px !important;
}

.tfsbox_container p {
	padding: 5px;
}

.tfsbox_container th {
	background: #F0F0F0 url(images/shouts_bg.png) repeat-x;
	border-bottom: 1px solid #DDD;
	font-family:  "Times New Roman";
	font-size: 1.5em;
	font-style: italic;
	letter-spacing: 3px;
	outline: 1px solid #EEE;
}

.tfsbox_dialog {
	box-shadow: 0 2px 10px #333 !important;
	display: none;
	margin: 0 !important;
	padding: 5px !important;
	position: fixed;
	width: 400px;
	z-index: 3;

	-moz-box-shadow: 0 2px 10px #333 !important;
	-webkit-box-shadow: 0 2px 10px #333 !important;
}

.tfsbox_dialog_header {
	font-weight: bold;
	margin-bottom: 7px;
	text-align: center;
}

.tfsbox_dialog_btns {
	text-align: right;
}

.tfsbox_menu {
	color: black;
	cursor: default;
	display: none;
	font-family: "DejaVu Sans", "Sans", "Arial";
	font-size: 8pt;
	font-style: normal;
	font-weight: normal;
	line-height: normal;
	margin: -20px 0 0 -216px !important;
	width: 200px;
	position: absolute;
	text-align: left;
}

.tfsbox_reported {
	background: #FFF0F0 url(images/shouts_bg.png) repeat-x !important;
}

.tfsbox_shout_time {
	color: #CCC;
	font-size: 8pt;
	padding: 5px 0 1px 0;
}

.tfsbox_subscriptions > div {
	border: 1px solid #999;
	box-sizing: border-box;
	float: left;
	padding: 10px;

	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

.tfsbox_subscriptions ul {
	list-style: none;
	margin: 0;
	padding: 5px;
}

.tfsbox_subscriptions ul li {
	border: 1px solid #999;
	border-bottom: 0;
	box-sizing: border-box;
	cursor: pointer;
	padding: 5px;
	text-align: center;

	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

.tfsbox_subscriptions ul li:hover {
	background: -webkit-gradient(linear, 0 50%, 50% 0, from(#F3F3F3), to(#F9F9F9));
	background: -moz-linear-gradient(left, #F3F3F3, #F9F9F9);
	box-shadow: inset -1px -1px 0 #F9F9F9, inset 1px 1px 0 #F9F9F9, inset 0 0 10px #E3E3E3;
}

.tfsbox_subscriptions ul li.active {
	background: -webkit-gradient(linear, 0 50%, 50% 0, from(#F0F0F0), to(#F9F9F9));
	background: -moz-linear-gradient(left, #F0F0F0, #F9F9F9);
	border: 1px solid #999;
	border-bottom: 0;
	box-shadow: inset -1px -1px 0 #F9F9F9, inset 1px 1px 0 #F9F9F9, inset 0 0 10px #E3E3E3;
	cursor: default;
	margin: 0;
	padding: 10px;

	-webkit-transition-property: background, box-shadow;
    -webkit-transition-duration: 200ms;
    -webkit-transition-timing-function: ease-in-out;
}

.tfsbox_subscriptions ul li:last-child {
	border-bottom: 1px solid #999;
}

.tfsbox_subscriptions ul li > div {
	background: #F9F9F9;
	border: 1px solid #999;
	box-shadow: inset -1px -1px 0 #F9F9F9, inset 1px 1px 0 #F9F9F9, inset 0 0 10px #E3E3E3;
	box-sizing: border-box;
	display: none;
	height: 350px;
	overflow: auto;
	padding: 5px;
	text-align: left;

	-moz-box-sizing: border-box;
	-moz-box-shadow: inset -1px -1px 0 #F9F9F9, inset 1px 1px 0 #F9F9F9, inset 0 0 10px #E3E3E3;
	-webkit-box-sizing: border-box;
	-webkit-box-shadow: inset -1px -1px 0 #F9F9F9, inset 1px 1px 0 #F9F9F9, inset 0 0 10px #E3E3E3;
}

.tfsbox_subscriptions ul li.active > div {
	display: block;
}

.with_icon {
	background-position: 3px 5px !important;
	background-repeat: no-repeat !important;
	padding: 5px 7px 5px 23px !important;
}

#name_field,
#site_field {
	font-family: "DejaVu Sans", "Sans", "Arial";
	font-size: 9pt;
}

#name_field b,
#site_field b {
	border-bottom: 1px solid #BBB;
	display: block;
	padding: 5px;
}

#screen {
	background-color: #444;
	bottom: 0;
	display: none;
	left: 0;
	opacity: .6;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 2;

	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
	filter: alpha(opacity=60);
}

#tfsbox_content {
	background: url(images/bg_grad.png) repeat-x;
	margin: -10px;
	padding: 30px;
}

#tfsbox_error_dialog,
#tfsbox_notice_dialog {
	background: #FFF0F0 url(images/shouts_bg.png) repeat-x;
	border-bottom: 1px solid #D98282;
	box-shadow: 0 2px 5px #999;
	color: #663333;
	margin: 0 -10px 5px -10px;
	padding: 10px;

	-moz-box-shadow: 0 2px 5px #999;
	-webkit-box-shadow: 0 2px 5px #999;
}

#tfsbox_error_dialog_content,
#tfsbox_notice_dialog_content {
	background: url(images/icons/dialog-error.png) 15px 10px no-repeat;
	padding: 15px 3px 15px 78px;
}

#tfsbox_error_dialog ul {
	margin: 0;
	padding-left: 30px;
}

#tfsbox_error_dialog_btns,
#tfsbox_notice_dialog_btns {
	text-align: right;
	margin: 0 10px 5px 0;
}

#tfsbox_header {
	background: #262422 url(images/shouts_bg2.png) repeat-x;
	color: white;
	font-size: 10pt;
	margin: -10px -10px 0 -10px;
	padding: 5px;
	text-align: center;
}

#tfsbox_header a {
	color: #629AB3;
	line-height: 16px;
	padding: 5px;
}

#tfsbox_header a:hover {
	color: #C3DBE6;
}

#tfsbox_header div {
	float: none !important;
}

#tfsbox_input_dialog_content {
	margin: 10px 10px 20px 10px;
}

#tfsbox_login_form {
	padding: 5px 15px 5px 5px !important;
}

#tfsbox_login_form th {
	font-style: italic;
	padding-bottom: 10px;
	vertical-align: top;
}

#tfsbox_msg_dialog_text {
	background: url(images/icons/dialog-information.png) no-repeat 5px 0;
	min-height: 55px;
	padding: 5px 5px 5px 57px;
}

#tfsbox_notice_dialog {
	background-color: #FFFBE6;
	border-bottom-color: #B39D33;
	color: #4C4316;
}

#tfsbox_notice_dialog_content {
	background-image: url(images/icons/dialog-warning.png);
}

#tfsbox_pagination {
	background: url(images/shouts_bg.png) repeat-x;
	margin: -20px -30px 0 -30px;
	padding: 10px 5px 10px 5px;
	text-align: center;
}

#tfsbox_panel_menubar {
	background: url(images/shouts_bg.png) repeat-x;
	margin: 0 -10px 0 -10px;
	padding: 5px 15px 15px 15px;
}

#tfsbox_panel_menubar a:hover,
#tfsbox_panel_menubar a#active {
	background-color: #EEE;
	color: #196080 !important;
}

#tfsbox_panel_menubar a#active,
#tfsbox_panel_menubar a:active,
.button:active {
	background: #EEE url(images/shouts_bg2.png) repeat-x 0 -10px !important;
	border-color: #DDD;
	box-shadow: 0 0 10px white;
	color: black !important;

	-moz-box-shadow: 0 0 10px white;
	-webkit-box-shadow: 0 0 10px white;
}

#tfsbox_shoutform,
#tfsbox_login_form {
	background: #F9F9F9 url(images/shouts_bg.png) repeat-x;
	box-shadow: 0 2px 5px #999, 1px 1px 0 #CCC, -1px 1px 0 #CCC, 1px -1px 0 #CCC, -1px -1px 0 #CCC;
	border: 1px solid white;
	font-family: "Times New Roman";
	letter-spacing: 2px;
	margin: auto;
	max-width: 350px;
	padding: 3px;

	-moz-box-shadow: 0 2px 5px #999, 1px 1px 0 #CCC, -1px 1px 0 #CCC, 1px -1px 0 #CCC, -1px -1px 0 #CCC;
	-webkit-box-shadow: 0 2px 5px #999, 1px 1px 0 #CCC, -1px 1px 0 #CCC, 1px -1px 0 #CCC, -1px -1px 0 #CCC;
}

#tfsbox_shoutform {
	margin-bottom: 20px;
	margin-top: 20px;
}

#tfsbox_shoutform .button {
	background: #F5F5F5 url(images/shouts_bg.png) repeat-x;
	border: 1px solid white;
	border-radius: 0;
	box-shadow: 0 0 7px #DDD, 1px 1px 0 #CCC, -1px 1px 0 #CCC, 1px -1px 0 #CCC, -1px -1px 0 #CCC;
	cursor: pointer;
	font-size: 10pt;
	font-style: italic;
	font-weight: bold;
	height: 16px;
	line-height: 16px;
	margin: 0 0 7px 7px;
	padding: 3px;
	text-align: center;

	-moz-box-shadow: 0 0 7px #DDD, 1px 1px 0 #CCC, -1px 1px 0 #CCC, 1px -1px 0 #CCC, -1px -1px 0 #CCC;
	-webkit-box-shadow: 0 0 7px #DDD, 1px 1px 0 #CCC, -1px 1px 0 #CCC, 1px -1px 0 #CCC, -1px -1px 0 #CCC;
}

#tfsbox_shoutform .button:hover .tfsbox_menu {
	display: block;
}

#tfsbox_shouts,
.tfsbox_menu,
.tfsbox_container,
.tfsbox_dialog {
	background: #F9F9F9 url(images/shouts_bg.png) repeat-x;
	box-shadow: 0 2px 5px #999, 1px 1px 0 #CCC, -1px 1px 0 #CCC, 1px -1px 0 #CCC, -1px -1px 0 #CCC;
	border: 1px solid white;
	margin: auto;
	padding: 5px;

	-moz-box-shadow: 0 2px 5px #999, 1px 1px 0 #CCC, -1px 1px 0 #CCC, 1px -1px 0 #CCC, -1px -1px 0 #CCC;
	-webkit-box-shadow: 0 2px 5px #999, 1px 1px 0 #CCC, -1px 1px 0 #CCC, 1px -1px 0 #CCC, -1px -1px 0 #CCC;
}

#tfsbox_shouts h1,
.tfsbox_container h1,
#tfsbox_shouts h2,
.tfsbox_container h2,
#tfsbox_shouts h3,
.tfsbox_container h3,
#tfsbox_shouts h4,
.tfsbox_container h4,
#tfsbox_shouts h5,
.tfsbox_container h5,
#tfsbox_shouts h6,
.tfsbox_container h6 {
	border-bottom: 1px solid #DDD;
}

#tfsbox_shouts > div {
	cursor: s-resize;
}

#tfsbox_shouts > div,
.tfsbox_menu div > div {
	border-bottom: 1px solid #DDD;
	padding: 3px;
	word-wrap: break-word;

	-webkit-transition-property: -webkit-box-shadow;
    -webkit-transition-duration: 150ms;
    -webkit-transition-timing-function: ease-in-out;
}

#tfsbox_shouts > div:active,
#tfsbox_shouts > div.active {
	background: #F9F9F9 url(images/bg_grad.png) repeat-x 0 -75px !important;
	border-top: 1px solid #EEE !important;
	box-shadow: none !important;

	-moz-box-shadow: none !important;
	-webkit-box-shadow: none !important;
}

#tfsbox_shouts > div:hover {
	background: url(images/shouts_bg.png) repeat-x;
	border-top: 1px solid white;
	box-shadow: 0 1px 2px #DDD;
	padding-top: 2px;

	-moz-box-shadow: 0 1px 2px #DDD;
	-webkit-box-shadow: 0 1px 2px #DDD;
}

#tfsbox_shouts > div.active {
	background-color: #F7F7F7 !important;
	cursor: n-resize;
	padding-top: 2px;
}

#tfsbox_shouts > div div.tfsbox_shout_options {
	display: none;
	font-weight: normal !important;
	margin: 20px 5px 0 5px;
	padding: 5px;
	text-align: right;
}
